OTP\Handler\MoCustomForm S

Total Complexity 47
Dependencies 8
Dependents 1
Total lines 392
Lines of code 236
Logical lines of code 101
Comment lines 117
Methods 19
Properties 2

Methods 19

Method Rating Maintainability Complexity Lines of code
checkIntegrity()
S
55 5 22
mo_send_otp()
S
54 5 22
mo_check_validated_on_submit()
S
58 5 17
checkIntegrityAndValidateOTP()
S
52 4 26
handle_form()
S
55 3 19
__construct()
S
55 3 19
get_phone_number_selector()
S
70 3 6
processFormAndValidateOTP()
S
59 2 15
mo_processEmailAndSendOTP()
S
60 2 14
mo_processPhoneAndSendOTP()
S
61 2 13
mo_enqueue_form_script()
S
51 1 26
checkIfOTPSent()
S
66 2 10
handle_failed_verification()
S
69 2 7
handle_post_verification()
S
69 2 7
isPhoneEnabled()
S
78 2 3
unset_otp_session_variables()
S
76 1 4
handle_form_options()
S
91 1 2
getSubmitKeyDetails()
S
83 1 2
get_field_key_details()
S
83 1 2